Page({
    data: {
      userInfo: null
    },
    onLoad() {
      const userInfo = wx.getStorageSync('userInfo');
      this.setData({ userInfo });
    }
  });